
<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">

<title>${setting.siteName}- 首页-数值</title>
<meta name="keywords" content="${setting.siteName}">
<meta name="description" content="${setting.siteName}">

<!-- BEGIN HEADER -->
[#include "/admin/include/style.ftl"]
<!-- END HEADER -->
<style type="text/css">
	.btn {
		margin: 0 5px;
	}
	.divCss{
		height:130px;
		border: 1px solid #ddd;
		margin-left:100px;
		margin-top:10px;
	}
	.divCss div{
		text-align: center;
		margin-top:9px;
		height:30px;
		color:#929292;
		font-size:15px;
	}
	.fontCss{
		font-size: 25px !important;
		color:#272727 !important;
		height:40px !important;
	}
	.divCss img{
		margin-left:5px;
		margin-right:5px;
	}
</style>
</head>

<body class="gray-bg">
	<div class="wrapper wrapper-content  animated fadeInRight">

		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<form id="listForm" action="list.jhtml" method="get">
						<div class="ibox-content">
							<div class="ibox-title">
								<h3>交易数据统计</h3>
							</div>
							<div class="form-group">
								<div class="row">
									<div class="col-sm-2 divCss">
										<div>昨日总收入(元)</div>
										<div class="fontCss">${(income.yesterdayMoney)?string('0.00')!''}</div>
										<div>
											较上日
											[#if income.yesterdayMoney gt income.beforeYesterdayMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(income.yesterdayMoney-income.beforeYesterdayMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.yesterdayMoney lt income.beforeYesterdayMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(income.beforeYesterdayMoney-income.yesterdayMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.yesterdayMoney == income.beforeYesterdayMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上周总收入(元)</div>
										<div class="fontCss">${(income.lastWeekMoney)?string('0.00')!''}</div>
										<div>
											较上周
											[#if income.lastWeekMoney gt income.lastTwoWeekMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(income.lastWeekMoney-income.lastTwoWeekMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.lastWeekMoney lt income.lastTwoWeekMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(income.lastTwoWeekMoney-income.lastWeekMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.lastWeekMoney == income.lastTwoWeekMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上月总收入(元)</div>
										<div class="fontCss">${(income.lastMonthMoney)?string('0.00')!''}</div>
										<div>
											较上月
											[#if income.lastMonthMoney gt income.lastTwoMonthMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(income.lastMonthMoney-income.lastTwoMonthMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.lastMonthMoney lt income.lastTwoMonthMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(income.lastTwoMonthMoney-income.lastMonthMoney)?string('0.00')!''}</span>
											[/#if]
											[#if income.lastMonthMoney == income.lastTwoMonthMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>历史总收入(元)</div>
										<div class="fontCss">${(income.allMoney)?string('0.00')!''}</div>
									</div>
								</div>
								<div class="row">
									<div class="col-sm-2 divCss">
										<div>昨日总支出(元)</div>
										<div class="fontCss">${(spending.yesterdayMoney)?string('0.00')!''}</div>
										<div>
											较上日
											[#if spending.yesterdayMoney gt spending.beforeYesterdayMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(spending.yesterdayMoney-spending.beforeYesterdayMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.yesterdayMoney lt spending.beforeYesterdayMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(spending.beforeYesterdayMoney-spending.yesterdayMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.yesterdayMoney == spending.beforeYesterdayMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上周总支出(元)</div>
										<div class="fontCss">${(spending.lastWeekMoney)?string('0.00')!''}</div>
										<div>
											较上周
											[#if spending.lastWeekMoney gt spending.lastTwoWeekMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(spending.lastWeekMoney-spending.lastTwoWeekMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.lastWeekMoney lt spending.lastTwoWeekMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(spending.lastTwoWeekMoney-spending.lastWeekMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.lastWeekMoney == spending.lastTwoWeekMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上月总支出(元)</div>
										<div class="fontCss">${(spending.lastMonthMoney)?string('0.00')!''}</div>
										<div>
											较上月
											[#if spending.lastMonthMoney gt spending.lastTwoMonthMoney]
												<img src="${base}/resources/img/sjt.png">
												<span>${(spending.lastMonthMoney-spending.lastTwoMonthMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.lastMonthMoney lt spending.lastTwoMonthMoney]
												<img src="${base}/resources/img/xjt.png">
												<span>${(spending.lastTwoMonthMoney-spending.lastMonthMoney)?string('0.00')!''}</span>
											[/#if]
											[#if spending.lastMonthMoney == spending.lastTwoMonthMoney]
												<span>0.00</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>历史总支出(元)</div>
										<div class="fontCss">${(spending.allMoney)?string('0.00')!''}</div>
									</div>
								</div>
							</div>
						</div>
						<!-- ************************************************** -->
						<div class="ibox-content">
							<div class="ibox-title">
								<h3>订单数量统计</h3>
							</div>
							<div class="form-group">
								<div class="row">
									<div class="col-sm-2 divCss">
										<div>昨日交易订单数</div>
										<div class="fontCss">${(orderSum.yesterdaySum)!''}</div>
										<div>
											较上日
											[#if orderSum.yesterdaySum gt orderSum.beforeYesterdaySum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(orderSum.yesterdaySum-orderSum.beforeYesterdaySum)!''}</span>
											[/#if]
											[#if orderSum.yesterdaySum lt orderSum.beforeYesterdaySum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(orderSum.beforeYesterdaySum-orderSum.yesterdaySum)!''}</span>
											[/#if]
											[#if orderSum.yesterdaySum == orderSum.beforeYesterdaySum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上周交易订单数</div>
										<div class="fontCss">${(orderSum.lastWeekSum)!''}</div>
										<div>
											较上周
											[#if orderSum.lastWeekSum gt orderSum.lastTwoWeekSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(orderSum.lastWeekSum-orderSum.lastTwoWeekSum)!''}</span>
											[/#if]
											[#if orderSum.lastWeekSum lt orderSum.lastTwoWeekSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(orderSum.lastTwoWeekSum-orderSum.lastWeekSum)!''}</span>
											[/#if]
											[#if orderSum.lastWeekSum == orderSum.lastTwoWeekSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上月交易订单数</div>
										<div class="fontCss">${(orderSum.lastMonthSum)!''}</div>
										<div>
											较上月
											[#if orderSum.lastMonthSum gt orderSum.lastTwoMonthSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(orderSum.lastMonthSum-orderSum.lastTwoMonthSum)!''}</span>
											[/#if]
											[#if orderSum.lastMonthSum lt orderSum.lastTwoMonthSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(orderSum.lastTwoMonthSum-orderSum.lastMonthSum)!''}</span>
											[/#if]
											[#if orderSum.lastMonthSum == orderSum.lastTwoMonthSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>历史交易订单数</div>
										<div class="fontCss">${(orderSum.allSum)!''}</div>
									</div>
								</div>
							</div>
						</div>
						<!-- ************gt是>  lt是<************************************** -->
						<div class="ibox-content">
							<div class="ibox-title">
								<h3>用户注册统计</h3>
							</div>
							<div class="form-group">
								<div class="row">
									<div class="col-sm-2 divCss">
										<div>昨日注册会员数</div>
										<div class="fontCss">${(registerSum.yesterdaySum)!''}</div>
										<div>
											较上日
											[#if registerSum.yesterdaySum gt registerSum.beforeYesterdaySum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(registerSum.yesterdaySum-registerSum.beforeYesterdaySum)!''}</span>
											[/#if]
											[#if registerSum.yesterdaySum lt registerSum.beforeYesterdaySum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(registerSum.beforeYesterdaySum-registerSum.yesterdaySum)!''}</span>
											[/#if]
											[#if registerSum.yesterdaySum == registerSum.beforeYesterdaySum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上周注册会员数</div>
										<div class="fontCss">${(registerSum.lastWeekSum)!''}</div>
										<div>
											较上周
											[#if registerSum.lastWeekSum gt registerSum.lastTwoWeekSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(registerSum.lastWeekSum-registerSum.lastTwoWeekSum)!''}</span>
											[/#if]
											[#if registerSum.lastWeekSum lt registerSum.lastTwoWeekSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(registerSum.lastTwoWeekSum-registerSum.lastWeekSum)!''}</span>
											[/#if]
											[#if registerSum.lastWeekSum == registerSum.lastTwoWeekSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上月注册会员数</div>
										<div class="fontCss">${(registerSum.lastMonthSum)!''}</div>
										<div>
											较上月
											[#if registerSum.lastMonthSum gt registerSum.lastTwoMonthSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(registerSum.lastMonthSum-registerSum.lastTwoMonthSum)!''}</span>
											[/#if]
											[#if registerSum.lastMonthSum lt registerSum.lastTwoMonthSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(registerSum.lastTwoMonthSum-registerSum.lastMonthSum)!''}</span>
											[/#if]
											[#if registerSum.lastMonthSum == registerSum.lastTwoMonthSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>历史累计注册会员数</div>
										<div class="fontCss">${(registerSum.allSum)!''}</div>
									</div>
								</div>
							</div>
						</div>
						<!-- ************************************************** -->
						<div class="ibox-content">
							<div class="ibox-title">
								<h3>商品信息统计</h3>
							</div>
							<div class="form-group">
								<div class="row">
									<div class="col-sm-2 divCss">
										<div>昨日销售数</div>
										<div class="fontCss">${(goodsSum.yesterdaySum)!''}</div>
										<div>
											较上日
											[#if goodsSum.yesterdaySum gt goodsSum.beforeYesterdaySum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(goodsSum.yesterdaySum-goodsSum.beforeYesterdaySum)!''}</span>
											[/#if]
											[#if goodsSum.yesterdaySum lt goodsSum.beforeYesterdaySum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(goodsSum.beforeYesterdaySum-goodsSum.yesterdaySum)!''}</span>
											[/#if]
											[#if goodsSum.yesterdaySum == goodsSum.beforeYesterdaySum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上周销售数</div>
										<div class="fontCss">${(goodsSum.lastWeekSum)!''}</div>
										<div>
											较上周
											[#if goodsSum.lastWeekSum gt goodsSum.lastTwoWeekSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(goodsSum.lastWeekSum-goodsSum.lastTwoWeekSum)!''}</span>
											[/#if]
											[#if goodsSum.lastWeekSum lt goodsSum.lastTwoWeekSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(goodsSum.lastTwoWeekSum-goodsSum.lastWeekSum)!''}</span>
											[/#if]
											[#if goodsSum.lastWeekSum == goodsSum.lastTwoWeekSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>上月销售数</div>
										<div class="fontCss">${(goodsSum.lastMonthSum)!''}</div>
										<div>
											较上月
											[#if goodsSum.lastMonthSum gt goodsSum.lastTwoMonthSum]
												<img src="${base}/resources/img/sjt.png">
												<span>${(goodsSum.lastMonthSum-goodsSum.lastTwoMonthSum)!''}</span>
											[/#if]
											[#if goodsSum.lastMonthSum lt goodsSum.lastTwoMonthSum]
												<img src="${base}/resources/img/xjt.png">
												<span>${(goodsSum.lastTwoMonthSum-goodsSum.lastMonthSum)!''}</span>
											[/#if]
											[#if goodsSum.lastMonthSum == goodsSum.lastTwoMonthSum]
												<span>0</span>
											[/#if]
										</div>
									</div>
									<div class="col-sm-2 divCss">
										<div>历史累计销售数</div>
										<div class="fontCss">${(goodsSum.allSum)!''}</div>
									</div>
								</div>
							</div>
						</div>
						
					</form>
				</div>
			</div>
		</div>
	</div>

	<!-- BEGIN Script -->
	[#include "/admin/include/script.ftl"]
	<!-- END Script -->

	<script>
    
        $(document).ready(function () {
        	[@flash_message /]
        });
    </script>
</body>

</html>
